package com.yunji.aggregate.model.vo.base;

import com.yunji.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.vo
 * @Title: WalletTurnoverVO
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-10-28 10:21:55      V1.0        HuaAo       新建类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WalletTurnoverVO {

    @ApiModelProperty("账户类型")
    @Excel(name = "账户类型", readConverterExp = "11=代理商,13=网点", width = 15)
    private Integer userType;

    @ApiModelProperty("账户名称")
    @Excel(name = "账户名称", width = 10)
    private String nickName;

    @ApiModelProperty("手机号")
    @Excel(name = "手机号", width = 15)
    private String userName;

    @ApiModelProperty("代理模式 0-合作代理 1-自营")
    @Excel(name = "代理模式", readConverterExp = "0=合作代理,1=自营")
    private Integer agentMode;

    @ApiModelProperty("交易类型 0-收益 1-提现 2-收益退款")
    @Excel(name = "交易类型", readConverterExp = "0=收益,1=提现,2=收益退款", width = 15)
    private Integer tradeMode;

    @ApiModelProperty("交易金额")
    @Excel(name = "交易金额", width = 5)
    private BigDecimal amount;

    @ApiModelProperty("交易状态")
    private Integer tradeStatus;

    @ApiModelProperty("支付类型 1-收入 0-支出")
    @Excel(name = "支付类型", readConverterExp = "0=支出,1=收入")
    private Integer payType;

    @ApiModelProperty("支付方式 0-余额支付 1-微信支付 2-阿里支付")
    @Excel(name = "支付方式", readConverterExp = "支付方式 0-余额支付 1-微信支付 2-阿里支付")
    private Integer payMode;

    @ApiModelProperty("流转状态 0-已到账 1-已退款 2-退款中 3-已提现 4-提现失败")
    @Excel(name = "交易状态", readConverterExp = "0=已到账,1=已退款,2=退款中,3=已提现,4=提现失败", width = 10)
    private Integer turnoverStatus;

    @ApiModelProperty("交易时间")
    @Excel(name = "交易时间", width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String tradeTime;

    @ApiModelProperty("平台流水号")
    @Excel(name = "平台流水号", width = 25)
    private String orderCode;

    @ApiModelProperty("第三方支付流水号")
    @Excel(name = "第三方支付流水号", width = 25)
    private String payCode;

    @ApiModelProperty("第三方支付时间")
    @Excel(name = "第三方支付时间", width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String payTime;

}